package com.wollo.mapper;

import com.wollo.domain.TMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {

    //TODO  查询所有菜单
    public List<TMenu> getAllMenu();

    //TODO  根据条件查询所有菜单
    public List<TMenu> getMenuBy(TMenu menu);

    //TODO  插入新菜单
    public int insertMenu(TMenu menu);

    //TODO  更新菜单
    public int updateMenu(TMenu menu);

    //TODO  删除菜单
    public int deleteMenu(int id);
}


